import request from '@/utils/request'

/**
 * 分页查询
 * @param params
 * @returns {*}
 */
export function queryAllByPager(params) {
    return request({
      url: 'rest/api/sys/auth/v1/setting/pager',
      method: 'get',
      params
    })
  }
  
  export function saveObject(data) {
    return request({
      url: 'rest/api/sys/auth/v1/setting/save/entity',
      method: 'post',
      data
    })
  }
  
  export function updateObject(data) {
    return request({
      url: 'rest/api/sys/auth/v1/setting/update/entity',
      method: 'post',
      data
    })
  }
  
  /**
   * 删除
   * @param data
   * @returns {*}
   */
  export function deleteObject(data) {
    return request({
      url: 'rest/api/sys/auth/v1/setting/del',
      method: 'post',
      data
    })
  }



